/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code;

import com.baidu.bjf.remoting.protobuf.EnumReadable;

/**
 *
 * @author CHengJILI
 */
public enum OrderStatus implements EnumReadable {
    ZB(0) { public String getCode() {return "2";} public String getName() {return "正报"; }},
    YB(1) { public String getCode() {return "2";} public String getName() {return "已报"; }},
    GD(2) { public String getCode() {return "2";} public String getName() {return "挂单"; }},
    QBCJ(3) { public String getCode() {return "2";} public String getName() {return "全部成交"; }},
    BFCJ(4) { public String getCode() {return "2";} public String getName() {return "部分成交"; }},
    YCYC(5) { public String getCode() {return "2";} public String getName() {return "已成余撤"; }},
    YBDC(6) { public String getCode() {return "2";} public String getName() {return "已报待撤"; }},
    CD(7) { public String getCode() {return "2";} public String getName() {return "撤单"; }},
    SX(8) { public String getCode() {return "2";} public String getName() {return "失效"; }},
    FD(9) { public String getCode() {return "2";} public String getName() {return "废单"; }},
    TBWB(10) { public String getCode() {return "2";} public String getName() {return "同步外部"; }},
    FKTG(11) { public String getCode() {return "2";} public String getName() {return "风控通过"; }},
    FKJJ(12) { public String getCode() {return "2";} public String getName() {return "风控拒绝"; }},
    SCJJ(13) { public String getCode() {return "2";} public String getName() {return "市场拒绝"; }},
    SPTG(14) { public String getCode() {return "2";} public String getName() {return "审批通过"; }},
    SPJJ(15) { public String getCode() {return "2";} public String getName() {return "审批拒绝"; }};

    public abstract String getName();
    public abstract String getCode();
    private final int value;
    OrderStatus(int value) { this.value = value; }
    public int value() { return this.value; }
}
